package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * @PROJECT_NAME:sky-take-out
 * @NAME: ShoppingCartService
 * @AUTHOR:$$
 * @Date:2023-08-19
 * @DESCRIPTION:
 **/
public interface ShoppingCartService {
    /**
     * 添加购物车
     * @param shoppingCartDTO
     */
    static void addShoppingCart(ShoppingCartDTO shoppingCartDTO) {
    }

    /**
     * 查看购物车
     * @return
     */
     List<ShoppingCart> showShoppingCart();

    /**
     * 清空购物车商品
     */
    static void cleanShoppingCart() {
    }
}
